package web.servlet.userlist.service;

import web.servlet.userlist.domin.PageBean;
import web.servlet.userlist.domin.User;

import java.util.List;

/**
 * @Author: 18148
 * @Date: 2020-06-21 15:57:30
 */
public interface UserService {
    List<User> findAll();

    int add(User user);

    int delete(int id);

    User selectById(int id);

    int update(int id,User user);

    User login(User user);

    void delSelected(String[] uid);

    PageBean<User> findUserByPage(String cuttentPage, String rows);
}
